home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Photo Journalism - The Best of 1992
/
Associated Press Present, The - Photo Journalism - The Best of 1992 (Europe).zip
/
Associated Press Present, The - Photo Journalism - The Best of 1992 (Europe) (Track 1).bin
/
dos_app
/
runpcd.bat
< prev
next >
Wrap
DOS Batch File
|
1993-08-04
|
3KB
|
94 lines
@echo off
if %pcd1%a == a set pcd1=1
if %pcd2%a == a set pcd2=1
:dostart
echo "PHOTO-CD VIEWER: PCDVIEW SELECTION">c:\pcdview.dat
if %pcd1% == 1 echo [X] Use primary colours (for 8 bit display)>>c:\pcdview.dat
if NOT %pcd1% == 1 echo [ ] Use primary colours (for 8 bit display)>>c:\pcdview.dat
if %pcd1% == 2 echo [X] Use greyscale colours (for 8 bit display)>>c:\pcdview.dat
if NOT %pcd1% == 2 echo [ ] Use greyscale colours (for 8 bit display)>>c:\pcdview.dat
if %pcd1% == 3 echo [X] Use dithered colours (for 8 bit display)>>c:\pcdview.dat
if NOT %pcd1% == 3 echo [ ] Use dithered colours (for 8 bit display)>>c:\pcdview.dat
if %pcd2% == 1 echo [X] Do not scale image>>c:\pcdview.dat
if NOT %pcd2% == 1 echo [ ] Do not scale image>>c:\pcdview.dat
if %pcd2% == 2 echo [X] Maximise picture size>>c:\pcdview.dat
if NOT %pcd2% == 2 echo [ ] Maximise picture size>>c:\pcdview.dat
if %pcd2% == 3 echo [X] Stretch picture to fill screen>>c:\pcdview.dat
if NOT %pcd2% == 3 echo [ ] Stretch picture to fill screen>>c:\pcdview.dat
echo Run PCDVIEW in 320 x 200 x 8 bit (F1 to exit)>>c:\pcdview.dat
echo Run PCDVIEW in 640 x 480 x 8 bit (F1 to exit)>>c:\pcdview.dat
echo Run PCDVIEW in 800 x 600 x 8 bit (F1 to exit)>>c:\pcdview.dat
echo Run PCDVIEW in 640 x 480 x 15 bit (F1 to exit)>>c:\pcdview.dat
echo Run PCDVIEW in 800 x 600 x 15 bit (F1 to exit)>>c:\pcdview.dat
echo Exit Back To DOS>>c:\pcdview.dat
:quickstart
cls
select c:\pcdview.dat
if errorlevel 12 goto ends
if errorlevel 11 goto option11
if errorlevel 10 goto option10
if errorlevel 9 goto option9
if errorlevel 8 goto option8
if errorlevel 7 goto option7
if errorlevel 6 goto option6
if errorlevel 5 goto option5
if errorlevel 4 goto option4
if errorlevel 3 goto option3
if errorlevel 2 goto option2
if errorlevel 1 goto option1
goto ends
goto dostart
:option1
set pcd1=1
goto dostart
:option2
set pcd1=2
goto dostart
:option3
set pcd1=3
goto dostart
:option4
set pcd2=1
goto dostart
:option5
set pcd2=2
goto dostart
:option6
set pcd2=3
goto dostart
:option7
pcdview 320 200 8 %pcd1% %pcd2%
goto quickstart
:option8
pcdview 640 480 8 %pcd1% %pcd2%
goto quickstart
:option9
pcdview 800 600 8 %pcd1% %pcd2%
goto quickstart
:option10
pcdview 640 480 15 %pcd1% %pcd2%
goto quickstart
:option11
pcdview 800 600 15 %pcd1% %pcd2%
goto quickstart
:ends
: tidy up all batch file rubbish
: could leave pcd1/pcd2 so batch file will remember settings
:::set pcd1=
:::set pcd2=
del c:\pcdview.dat